#-------------------------------------------------------------------------------
# Author:      Julot
# Created:     Thursday, April 7th, 2011
#
# Copyright (c) 2011 Seraphim
#-------------------------------------------------------------------------------

import datetime

from _model import Model
from autorm.fields import *

class Device(Model):
    class Meta:
        table = 'device'
        pk = '_id'
        fields = [IdField('_id'),
                  IntegerField('host', index=True),
                  IntegerField('channel', index=True),
                  IntegerField('value', index=True)]
